// 搜索请求模块
import request from '../uilts/request'
// 请求获取搜索建议数据
export const getSearchSuggestion = q => {
        return request({
            method: 'GET',
            url: '/v1_0/suggestion',
            params: {
                q
            }
        })
    } // 请求获取搜索结果数据
export const getsearchResult = params => {
    return request({
        method: 'GET',
        url: '/v1_0/search',
        params
    })
}